package com.naodong.shenluntiku.intergation.alipush;

import android.content.Intent;
import android.util.Log;

import com.alibaba.sdk.android.push.AndroidPopupActivity;
import com.naodong.shenluntiku.mvp.view.activity.LauncherActivity;

import java.util.Map;

/**
 * Created by hujie on 17/6/12.
 */

public class ThirdPushActivity extends AndroidPopupActivity {


    @Override
    protected void onSysNoticeOpened(String s, String s1, Map<String, String> map) {
        Log.d("OnMiPushSysNoticeOpened", "title: " + s + ", content: " + s1 + ", extMap: " + map);
        Intent intent = new Intent(this, LauncherActivity.class);
        intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        startActivity(intent);
        overridePendingTransition(0, 0);
        finish();
    }
}
